package cn.stylefeng.guns.modular.manager.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 领取记录
 * </p>
 *
 * @author yumker
 * @since 2021-01-07
 */
@TableName("flow_member_coupon_activity_record")
public class FlowMemberCouponActivityRecord implements Serializable {

    private static final long serialVersionUID=1L;

      @TableId(value = "activity_record_id", type = IdType.AUTO)
    private Long activityRecordId;

    @TableField("coupon_activity_id")
    private Long couponActivityId;

    @TableField("member_id")
    private Long memberId;

      @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;

      @TableField(value = "update_time", fill = FieldFill.UPDATE)
    private Date updateTime;

    @TableField("type")
    private Integer type;


    public Long getActivityRecordId() {
        return activityRecordId;
    }

    public void setActivityRecordId(Long activityRecordId) {
        this.activityRecordId = activityRecordId;
    }

    public Long getCouponActivityId() {
        return couponActivityId;
    }

    public void setCouponActivityId(Long couponActivityId) {
        this.couponActivityId = couponActivityId;
    }

    public Long getMemberId() {
        return memberId;
    }

    public void setMemberId(Long memberId) {
        this.memberId = memberId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    @Override
    public String toString() {
        return "FlowMemberCouponActivityRecord{" +
                "activityRecordId=" + activityRecordId +
                ", couponActivityId=" + couponActivityId +
                ", memberId=" + memberId +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                ", type=" + type +
                "}";
    }
}
